content = input('请输入字符串:')
inverse_content = content[::-1]
if content in inverse_content:
    print('是回文')
else:
    print('不是回文')